package edu.sctu.zhangwang.month201505.day20150510;

/**
 * Created by user10 on 2015/5/10.
 */
public class Main {
    public static void main(String[] agrs){

        TextOne textOne = new TextOne();
        textOne.number = 20;

        TextTwo textTwo = new TextTwo();
        System.out.println(textTwo.sum);

        TextThree textThree = textTwo.getnumber(textOne);
        textTwo.getnumber(textOne);

        System.out.println(textThree.sum);
        System.out.println(textTwo.sum);

        textTwo.getnumber(textOne);
        System.out.println(textTwo.sum+":"+textThree.sum);
    }

}
